import type { DefineComponent, EmitsOptions, MethodOptions } from 'vue'
import { toNative } from 'vue-facing-decorator'

export type DefineComponentDto = DefineComponent<any, {}, {}, {}, any, {}, {}, any>

export default function <P = {}, E extends EmitsOptions = {}, M extends MethodOptions = {}>(cons: any) {
    return toNative(cons) as DefineComponent<P, {}, {}, {}, M, {}, {}, E>
}
